/*
 * Copyright 2000-2014 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@media (max-width: 1030px) {
    html {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

.g-layout {
    margin-left: auto;
    margin-right: auto;
    width: 960px;
    min-width: 960px;
}

@media (max-width: 1000px) {
    .g-layout {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.g-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 820px;
    font-size: 0;
    margin-right: -30px;
    border: 1px solid #969696;
    border-radius: 4px;
}

.global-content {
    padding-bottom: 40px;
}

.global-layout {
    min-height: 100%;
    margin-bottom: -90px;
}

.global-layout:after {
    display: block;
    height: 90px;
    content: '';
}

#global-overlay{
    position: fixed;
    top: 0;
    left: 0;
    tab-index: -1;
    text-align: center;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background-color: rgba(80, 80, 80, 0.5);
}

#global-overlay .loading{
    position: relative;
    background: white;
    display: inline-block;
    padding: 10px;
    border: 1px solid #969696;
    border-radius: 3px;
    top: 40%;
}

